/**
 * 获取所有权限字典
 */
export class GetAllPermissionDictsAction {
    static readonly type = '[Common] GetAllPermissionDicts';
    constructor() {}
}


/**
 * 切换仓库,切换Token
 */
export class ChangeStorageRefreshTokenAction {
    static readonly type = '[Common] ChangeStorageRefreshToken';
    constructor(public queryParams: any) {}
}



/**
 * 获取所有角色
 */
export class GetAllWorkTypesAction {
    static readonly type = '[Common] GetAllWorkTypes';
    constructor() {}
}

/**
 * 获取所有仓库
 */
export class GetAllStoragesAction {
    static readonly type = '[Common] GetAllStorages';
    constructor() {}
}

/**
 * 获取用户下的所有仓库
 */
export class GetAllStoragesByUserAction {
    static readonly type = '[Common] GetAllStoragesByUser';
    constructor() {}
}

/**
 * 发送手机验证码
 */
export class SendPhoneCodeAction {
    static readonly type = '[Common] SendPhoneCode';
    constructor(public phone: string) {}
}

/**
 * 获取是否是超级管理员
 */
export class GetIsSuperAdminAction {
    static readonly type = '[Common] GetIsSuperAdmin';
    constructor(public superAdminState: number) {}
}

/**
 * 下载
 */
export class DownloadFileAction {
    static readonly type = '[common] DownloadFileAction';
    constructor(public url: string, public fileName: string, public parma: any, public successCallback, public errorCallback) {}
}

/**
 * 获取微分电容曲线
 */
export class GetDifferentialCapacitanceCurveAction {
    static readonly type = '[common] GetDifferentialCapacitanceCurveAction';
    constructor(public step: string, public file: any, public chargeDataId: string) {}
}
